#pragma once
#include <iostream>
#include <vector>
typedef void(*task_t)();//函数指针
void task1()
{
    std::cout<<"刷新蓝buff"<<std::endl;
}
void task2()
{
    std::cout<<"刷新红buff"<<std::endl;
}void task3()
{
    std::cout<<"刷新技能"<<std::endl;
}void task4()
{
    std::cout<<"刷新地图"<<std::endl;
}
void locatask(std::vector<task_t>*tasks)
{
    tasks->push_back(task1);
    tasks->push_back(task2);
    tasks->push_back(task3);
    tasks->push_back(task4);

}